home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / BoneToDog.swf / scripts / DefineButton2_120 / BUTTONCONDACTION on(rollOver).as
Encoding:
Text File  |  2005-08-05  |  530 b   |  21 lines

  1. on(rollOver){
  2.    if(_root.aplay == false and _root.havePress == true)
  3.    {
  4.       trace("Aaa");
  5.       switch(_root.kind)
  6.       {
  7.          case 1:
  8.             trace("1_root.kind=" + _root.kind);
  9.             _root.aaa.gotoAndPlay("one_1");
  10.             break;
  11.          case 2:
  12.             trace("2_root.kind=" + _root.kind);
  13.             _root.bbb.gotoAndPlay("two_1");
  14.             break;
  15.          case 3:
  16.             trace("3_root.kind=" + _root.kind);
  17.             _root.ccc.gotoAndPlay("three_1");
  18.       }
  19.    }
  20. }
  21.